/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cubelabs.nexus.entity;

import java.util.Set;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

/**
 *
 * @author chaitanya
 */
public class Institute extends BaseEntity{
		private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private  Long id;
	@ManyToOne
	private User user;
	private User dean;
	private String institueName;
	private String aboutUs;
	private String logo;
	@OneToMany
	private Set<Teacher> teacherList;	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getInstitueName() {
		return institueName;
	}

	public void setInstitueName(String institueName) {
		this.institueName = institueName;
	}

	public String getAboutUs() {
		return aboutUs;
	}

	public void setAboutUs(String aboutUs) {
		this.aboutUs = aboutUs;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public User getDean() {
		return dean;
	}

	public void setDean(User dean) {
		this.dean = dean;
	}

	public Set<Teacher> getTeacherList() {
		return teacherList;
	}

	public void setTeacherList(Set<Teacher> teacherList) {
		this.teacherList = teacherList;
	}

	
	
}
